home *** CD-ROM | disk | FTP | other *** search
/ Champak 49 / Volume 49 - JOGO DISK .iso / Games / gasmania.swf / scripts / frame_9 / DoAction.as
Encoding:
Text File  |  2007-10-01  |  1.8 KB  |  75 lines

  1. var ┬º\x01┬º = 882;
  2. while(true)
  3. {
  4.    if(eval("\x01") == 882)
  5.    {
  6.       set("\x01",eval("\x01") + 73);
  7.       ┬º┬ºpush(true);
  8.    }
  9.    else if(eval("\x01") == 955)
  10.    {
  11.       set("\x01",eval("\x01") - 313);
  12.       if(┬º┬ºpop())
  13.       {
  14.          set("\x01",eval("\x01") - 289);
  15.       }
  16.    }
  17.    else
  18.    {
  19.       if(eval("\x01") == 642)
  20.       {
  21.          set("\x01",eval("\x01") - 289);
  22.          break;
  23.       }
  24.       if(eval("\x01") == 353)
  25.       {
  26.          set("\x01",eval("\x01") + 156);
  27.       }
  28.       else
  29.       {
  30.          if(eval("\x01") == 364)
  31.          {
  32.             set("\x01",eval("\x01") + 610);
  33.             stop();
  34.             this._lockroot = true;
  35.             PiaoSound = new Sound();
  36.             onEnterFrame = function()
  37.             {
  38.                _root.piao.play();
  39.                delete this.onEnterFrame;
  40.             };
  41.             _root.You.text = _global.nScore;
  42.             _root.GameOver.MainMenu.onPress = function()
  43.             {
  44.                PiaoSound.stop();
  45.                gotoAndPlay(1);
  46.             };
  47.             _root.GameOver.Try_Again.onPress = function()
  48.             {
  49.                _global.nLevel = _global.GameOverLevel;
  50.                _global.nLevelScore = _global.OverScore;
  51.                PiaoSound.stop();
  52.                gotoAndPlay(4);
  53.             };
  54.             break;
  55.          }
  56.          if(eval("\x01") == 4)
  57.          {
  58.             set("\x01",eval("\x01") + 505);
  59.          }
  60.          else
  61.          {
  62.             if(eval("\x01") != 509)
  63.             {
  64.                if(eval("\x01") == 974)
  65.                {
  66.                   set("\x01",eval("\x01") - 974);
  67.                }
  68.                break;
  69.             }
  70.             set("\x01",eval("\x01") - 145);
  71.          }
  72.       }
  73.    }
  74. }
  75.